package cn.stylefeng.guns.modular.outOrder.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 退款单
 * </p>
 *
 * @author lauyang
 * @since 2020-04-20
 */
@TableName("out_order")
public class OutOrder implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单编号
     */
    @TableField("order_number")
    private String orderNumber;

    /**
     * 用户昵称
     */
    @TableField("user_name")
    private String userName;

    /**
     * 退款金额
     */
    @TableField("out_money")
    private Float outMoney;

    /**
     * 退款方式
     */
    @TableField("out_way")
    private String outWay;

    /**
     * 类型
     */
    @TableField("out_type")
    private String outType;

    /**
     * 退款状态
     */
    @TableField("state")
    private String state;

    /**
     * 申请时间
     */
    @TableField("creat_time")
    private Date creatTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Float getOutMoney() {
        return outMoney;
    }

    public void setOutMoney(Float outMoney) {
        this.outMoney = outMoney;
    }

    public String getOutWay() {
        return outWay;
    }

    public void setOutWay(String outWay) {
        this.outWay = outWay;
    }

    public String getOutType() {
        return outType;
    }

    public void setOutType(String outType) {
        this.outType = outType;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "OutOrder{" +
        "id=" + id +
        ", orderNumber=" + orderNumber +
        ", userName=" + userName +
        ", outMoney=" + outMoney +
        ", outWay=" + outWay +
        ", outType=" + outType +
        ", state=" + state +
        ", creatTime=" + creatTime +
        "}";
    }
}
